#ifndef _server_server_h
#define _server_server_h

#include <string>
using namespace std;

namespace ddserver
{
namespace server
{

class Server
{
public:
    Server();
    ~Server();

public:
    void listen(const string& ip,int port);
    void start();
    void set_threads(int threads);
    void set_connects(int connects);
    void set_wait_time(int wait_time);

public:
    void set_server_type(int type);
    int getServerType();
    
private:
    string m_ip;
    int m_port;
    int m_threads;
    int m_connects;
    int m_wait_time;

private:
    int m_serverType;
};

}
}

#endif